package com.tudouji.project.bill.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 生产报明细对象 producereportitem
 * 
 * @author tudouji
 * @date 2021-03-01
 */
public class ProducereportitemHistory
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 主表ID */
    @Excel(name = "主表ID")
    private Long producereportid;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departname;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String departid;

    /** 出库房名称 */
    @Excel(name = "出库房名称")
    private String srname;

    /** 出库房ID */
    @Excel(name = "出库房ID")
    private String srguid;

    /** 出库间名称 */
    @Excel(name = "出库间名称")
    private String shrname;

    /** 出库间ID */
    @Excel(name = "出库间ID")
    private String shrguid;

    /** 出库产品 */
    @Excel(name = "出库产品")
    private String outproduct;

    /** 出库产品ID */
    @Excel(name = "出库产品ID")
    private String outproductid;

    /** 出库规格 */
    @Excel(name = "出库规格")
    private String outspecname;

    /** 出库规格ID */
    @Excel(name = "出库规格ID")
    private String outspecid;

    /** 入库产品 */
    @Excel(name = "入库产品")
    private String inproduct;

    /** 入库产品ID */
    @Excel(name = "入库产品ID")
    private String inproductid;

    /** 入库规格 */
    @Excel(name = "入库规格")
    private String inspecname;

    /** 入库规格ID */
    @Excel(name = "入库规格ID")
    private String inspecid;

    /** 入库 */
    @Excel(name = "入库")
    private BigDecimal inweight;

    /** 出库 */
    @Excel(name = "出库")
    private BigDecimal outweight;

    /** 损耗 */
    @Excel(name = "损耗")
    private BigDecimal lossweight;

    /** 退料 */
    @Excel(name = "退料")
    private BigDecimal returnweight;

    /** 报废 */
    @Excel(name = "报废")
    private BigDecimal scrapweight;

    private  int insptype;

    private String instockunit;

    private Long instockunitid;

    private String outstockunit;

    private Long outstockunitid;

    private String cospguid;

    private String cospname;

    public String getCospname() {
        return cospname;
    }

    public void setCospname(String cospname) {
        this.cospname = cospname;
    }

    public String getOutstockunit() {
        return outstockunit;
    }

    public void setOutstockunit(String outstockunit) {
        this.outstockunit = outstockunit;
    }

    public Long getOutstockunitid() {
        return outstockunitid;
    }

    public void setOutstockunitid(Long outstockunitid) {
        this.outstockunitid = outstockunitid;
    }

    public String getCospguid() {
        return cospguid;
    }

    public void setCospguid(String cospguid) {
        this.cospguid = cospguid;
    }


    public int getInsptype() {
        return insptype;
    }

    public void setInsptype(int insptype) {
        this.insptype = insptype;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProducereportid(Long producereportid) 
    {
        this.producereportid = producereportid;
    }

    public Long getProducereportid() 
    {
        return producereportid;
    }
    public void setDepartname(String departname) 
    {
        this.departname = departname;
    }

    public String getDepartname() 
    {
        return departname;
    }
    public void setDepartid(String departid) 
    {
        this.departid = departid;
    }

    public String getDepartid() 
    {
        return departid;
    }
    public void setSrname(String srname) 
    {
        this.srname = srname;
    }

    public String getSrname() 
    {
        return srname;
    }
    public void setSrguid(String srguid) 
    {
        this.srguid = srguid;
    }

    public String getSrguid() 
    {
        return srguid;
    }
    public void setShrname(String shrname) 
    {
        this.shrname = shrname;
    }

    public String getShrname() 
    {
        return shrname;
    }
    public void setShrguid(String shrguid) 
    {
        this.shrguid = shrguid;
    }

    public String getShrguid() 
    {
        return shrguid;
    }
    public void setOutproduct(String outproduct) 
    {
        this.outproduct = outproduct;
    }

    public String getOutproduct() 
    {
        return outproduct;
    }
    public void setOutproductid(String outproductid) 
    {
        this.outproductid = outproductid;
    }

    public String getOutproductid() 
    {
        return outproductid;
    }
    public void setOutspecname(String outspecname) 
    {
        this.outspecname = outspecname;
    }

    public String getOutspecname() 
    {
        return outspecname;
    }
    public void setOutspecid(String outspecid) 
    {
        this.outspecid = outspecid;
    }

    public String getOutspecid() 
    {
        return outspecid;
    }
    public void setInproduct(String inproduct) 
    {
        this.inproduct = inproduct;
    }

    public String getInproduct() 
    {
        return inproduct;
    }
    public void setInproductid(String inproductid) 
    {
        this.inproductid = inproductid;
    }

    public String getInproductid() 
    {
        return inproductid;
    }
    public void setInspecname(String inspecname) 
    {
        this.inspecname = inspecname;
    }

    public String getInspecname() 
    {
        return inspecname;
    }
    public void setInspecid(String inspecid) 
    {
        this.inspecid = inspecid;
    }

    public String getInspecid() 
    {
        return inspecid;
    }
    public void setInweight(BigDecimal inweight) 
    {
        this.inweight = inweight;
    }

    public BigDecimal getInweight() 
    {
        return inweight;
    }
    public void setOutweight(BigDecimal outweight) 
    {
        this.outweight = outweight;
    }

    public BigDecimal getOutweight() 
    {
        return outweight;
    }
    public void setLossweight(BigDecimal lossweight) 
    {
        this.lossweight = lossweight;
    }

    public BigDecimal getLossweight() 
    {
        return lossweight;
    }
    public void setReturnweight(BigDecimal returnweight) 
    {
        this.returnweight = returnweight;
    }

    public BigDecimal getReturnweight() 
    {
        return returnweight;
    }
    public void setScrapweight(BigDecimal scrapweight) 
    {
        this.scrapweight = scrapweight;
    }

    public BigDecimal getScrapweight() 
    {
        return scrapweight;
    }

    public String getInstockunit() {
        return instockunit;
    }

    public void setInstockunit(String instockunit) {
        this.instockunit = instockunit;
    }

    public Long getInstockunitid() {
        return instockunitid;
    }

    public void setInstockunitid(Long instockunitid) {
        this.instockunitid = instockunitid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("producereportid", getProducereportid())
            .append("departname", getDepartname())
            .append("departid", getDepartid())
            .append("srname", getSrname())
            .append("srguid", getSrguid())
            .append("shrname", getShrname())
            .append("shrguid", getShrguid())
            .append("outproduct", getOutproduct())
            .append("outproductid", getOutproductid())
            .append("outspecname", getOutspecname())
            .append("outspecid", getOutspecid())
            .append("inproduct", getInproduct())
            .append("inproductid", getInproductid())
            .append("inspecname", getInspecname())
            .append("inspecid", getInspecid())
            .append("inweight", getInweight())
            .append("outweight", getOutweight())
            .append("lossweight", getLossweight())
            .append("returnweight", getReturnweight())
            .append("scrapweight", getScrapweight())
            .toString();
    }
}
